package com.mnnu.mapper;

import com.mnnu.pojo.DeptLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DeptLogMapper {

    /**
     * 添加日志到表
     * @param deptLog
     */
    @Insert("insert into dept_log(create_time, description) values (#{createTime}, #{description})")
    public void insert(DeptLog deptLog);
}
